[LINUX] Fix save/restore (broken by my own GSO tweaks).
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 1 Aug 2006 17:06:44 +0000 (18:06 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 1 Aug 2006 17:06:44 +0000 (18:06 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c

index 3be2e87a7c5e04efd2bf621ff1df6b47dac87c8f..7644b09b86b9f745cf76c417bd568047668d2bfc 100644 (file)
@@ -1388,7 +1388,7 @@ static void network_connect(struct net_device *dev)
 
                gnttab_grant_foreign_transfer_ref(
                        ref, np->xbdev->otherend_id,
-                       page_to_pfn(skb_shinfo(np->rx_skbs[i])->frags->page));
+                       page_to_pfn(skb_shinfo(skb)->frags->page));
 
                RING_GET_REQUEST(&np->rx, requeue_idx)->gref = ref;
                RING_GET_REQUEST(&np->rx, requeue_idx)->id   = requeue_idx;